package com.hbx.eduservice.client;

import org.springframework.stereotype.Component;

/**
 * @Author hbx
 * @Date 2023/10/21 16:51
 */
@Component
public class OrderFallback implements OrderClient{
    @Override
    public boolean isBuyCourse(String courseId, String memberId) {
        System.out.println("根据课程id和用户id查询订单表中的订单状态的方法报错了,courseId:"+courseId+",memberId:"+memberId);
        return false;
    }
}
